package practice2;

import practice1.Node;
import practice1.Queue;

public class StackTest {

	
	public static void main(String[] args) {
		Node node = new Node(-1);
		Stack stack = new Stack();
		stack.setNode(node);
		Node node1 = new Node(1);
		Node node2 = new Node(2);
		Node node3 = new Node(3);
		Node node4 = new Node(4);
		Node node5 = new Node(5);
		stack.add(node1);
		stack.add(node2);
		stack.add(node3);
		stack.add(node4);
		stack.add(node5);
		stack.printNodes();
	}
	
}
